package com.company.handler;

import com.company.Scene;

/**
 * @description:
 * @author: ZhaoYicong
 * @date: Created in 2020/4/27 9:21
 * @version: v1.0
 * @modified By:
 */
public class HandlerChop extends Handler {
    public HandlerChop(Scene scene) {
        super(scene);
    }

    @Override
    public void doCommand(String word) {

        if (word.equals("")){
            System.out.println("请选择击杀的怪兽！");
        }
        scene.chop(word);

    }
}
